<?php

namespace App\Models\Announce;

use App\Models\App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\Validator;
use Illuminate\Support\Facades\DB;
use Illuminate\Database\Eloquent\SoftDeletes;


class Announce extends Model
{
    //使用软删除
    use SoftDeletes;
    //关联表
    protected  $table = 'announce';

    //设置主键
    public $primaryKey = 'id';
    //软删除自动维护字段,不为空时此条数据不显示
    protected $dates = ['deleted_at'];


}